﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace manySquares
{
    class Building
    {
        private int cost;
        private int income;
        private int health;
        private String type;
        public Building(String iType)
        {
            type = iType;
            if(type.Equals("Head Quarter"))
            {
                cost = -1;
                income = 1;
                health = 10;
            }
            if (type.Equals("City"))
            {
                cost = 0;
                income = 1;
                health = 10;
            }
            if (type.Equals("Barrack"))
            {
                cost = 0;
                income = 0;
                health = 10;
            }
            if (type.Equals("Wall"))
            {
                cost = 0;
                income = 0;
                health = 10;
            }
        }
    }
}
